package com.atguigu.edu.entity.excelUtil;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 读取Excel的内容对象
 */
@Data
@ApiModel(value = "SubjectData对象", description = "课程分类")
public class SubjectData {
    //    第一列
    @ApiModelProperty(value = "一级课程分类")
    @ExcelProperty(index = 0)
    private String oneSubjectName;
    //    第二列
    @ApiModelProperty(value = "二级课程分类")
    @ExcelProperty(index = 1)
    private String twoSubjectName;
}
